<MultiAuthor>
{
for $book in doc("catalog.xml")/bookcatalog/section/book
return if(count($book/author) gt 1)
then 
<book><title>{$book/title/text()}</title>
<NumberOfAuthors>{count($book/author)}</NumberOfAuthors>
</book>
else()
}
</MultiAuthor>
